package com.atcc.test.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.atcc.test.domain.StudentInfo;
import com.atcc.test.domain.User;
import com.atcc.test.mapper.UserMapper;
import com.atcc.test.service.UserService;

@Service
public class UserServiceImpl implements UserService{
      
	@Autowired
	UserMapper userMapper;

	@Override
	public StudentInfo selectStuInfoByName(String name) {
		return userMapper.selectStuInfoByName(name);
	}

	@Override
	public User findByUserName(String userName) {
		return userMapper.findByUserName(userName);
	}
	
}
